package com.whsxt.vo;

import com.whsxt.domain.OrderItem;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-03-25 17:22
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "订单确认参数")
public class OrderParam {

    @ApiModelProperty(value = "购物车id集合")
    private List<Long> basketIds;

    @ApiModelProperty(value = "商品信息")
    private OrderItem orderItem;

    @ApiModelProperty(value = "收货地址id")
    private Integer addrId;

    @ApiModelProperty(value = "优惠券")
    private List<Integer> couponId;

    @ApiModelProperty(value = "用户选择优惠券")
    private Integer userChangeCoupon;


}
